@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap');
*{
    box-sizing: border-box;
}
body{
    margin: 0;
    height: 100vh;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #ecf0f1;
    font-family: 'Roboto', sans-serif;
    overflow: hidden;
}
.card{
    width: 350px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.16);
    border-radius: 10px;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    -ms-border-radius: 10px;
    -o-border-radius: 10px;
    overflow: hidden;
}

.card-header{
    height: 200px;
    width: 100%;
    background-color: blueviolet;
}
.card-header img{
    width: 100%;
    height: 100%;
    background-position: center center;
    background-repeat: no-repeat;
    object-fit: cover;
}
.card-content{
    padding: 30px;
    background-color: #fff;
}
.card-content .card-title{
   height: 20px;
   margin: 0;
}
.card-content .card-excerpt{
   color: #777;
   margin: 10px 0 20px;
}

.author{
    display: flex;
    flex-direction: row;
}
.author .profile-img{
    width: 40px;
    height: 40px;
    border-radius: 50%;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    -ms-border-radius: 50%;
    -o-border-radius: 50%;
    background-color: darkgreen;
    overflow: hidden;
}
.author .profile-img img{
    object-fit: cover;
    width: 100%;
    height: 100%;
}
.author .auto-info{
    margin-left: 10px;
    display: flex;
    flex-direction: column;
    width: 150px;
    justify-content: space-between;
}
.author .auto-info small{
    color: #aaa;
}

.animated-bg{
  background-image: linear-gradient(    to right,    #f6f7f8 0%,    #edeef1 10%,    #f6f7f8 20%,    #f6f7f8 100%  );
  background-size: 200% 100%;
  animation: bgPos 1s linear infinite;
  -webkit-animation: bgPos 1s linear infinite;
}
.animated-text{
    border-radius: 50px;
  display: inline-block;
  margin: 0;
  height: 10px;
  width: 100%;
}
@keyframes bgPos {
    0% {
        background-position: 20% 0;
      }
    
      100% {
        background-position: -120% 0;
      }
}
